/**
 * 
 */
package com.thor.palmmall.spi.device.repair;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.thor.commons.entity.KV;
import com.thor.commons.entity.UCN;
import com.thor.palmmall.spi.basic.SSourceBill;
import com.thor.palmmall.spi.chart.SPicture;
import com.thor.palmmall.spi.common.SWorkOrder;

/**
 * @author NuoSa
 *
 * @since 1.0
 */
public class SDeviceRepair4Create implements Serializable {
  private static final long serialVersionUID = -7592905176599021375L;

  /**
   * 项目
   */
  private UCN store;
  /**
   * 报修人
   */
  private UCN applicant;
  /**
   * 设备类型
   */
  private UCN category;
  /**
   * 期望维修时间
   */
  private Date repairDate;
  /**
   * 联系方式
   */
  private String telephone;
  /**
   * 来源单号
   */
  private SSourceBill sourceBill;
  /**
   * 描述
   */
  private String situation;
  /**
   * 设备
   */  
  private UCN device;
  /**
   * 设备位置
   */
  private String place;
  /**
   * 图片附件
   */
  private List<SPicture> pictures = new ArrayList<SPicture>();
  /**
   * 用户组ID
   */
  private String permGroupId;
  /**
   * 用户组名称
   */
  private String permGroupTitle;
  /**
   * 业务单类型
   */
  private String type;
  /**
   * 工单
   */
  private SWorkOrder workOrder;
  
  /**
   * 异常巡视项
   */
  private List<KV> items = new ArrayList<KV>();

  public UCN getStore() {
    return store;
  }

  public UCN getApplicant() {
    return applicant;
  }

  public void setApplicant(UCN applicant) {
    this.applicant = applicant;
  }

  public void setStore(UCN store) {
    this.store = store;
  }

  public UCN getCategory() {
    return category;
  }

  public void setCategory(UCN category) {
    this.category = category;
  }

  public Date getRepairDate() {
    return repairDate;
  }

  public void setRepairDate(Date repairDate) {
    this.repairDate = repairDate;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public SSourceBill getSourceBill() {
    return sourceBill;
  }

  public void setSourceBill(SSourceBill sourceBill) {
    this.sourceBill = sourceBill;
  }

  public String getSituation() {
    return situation;
  }

  public void setSituation(String situation) {
    this.situation = situation;
  }

  public String getPlace() {
    return place;
  }

  public void setPlace(String place) {
    this.place = place;
  }

  public UCN getDevice() {
    return device;
  }

  public void setDevice(UCN device) {
    this.device = device;
  }

  public List<SPicture> getPictures() {
    return pictures;
  }

  public void setPictures(List<SPicture> pictures) {
    this.pictures = pictures;
  }

  public String getPermGroupId() {
    return permGroupId;
  }

  public void setPermGroupId(String permGroupId) {
    this.permGroupId = permGroupId;
  }

  public String getPermGroupTitle() {
    return permGroupTitle;
  }

  public void setPermGroupTitle(String permGroupTitle) {
    this.permGroupTitle = permGroupTitle;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public SWorkOrder getWorkOrder() {
    return workOrder;
  }

  public void setWorkOrder(SWorkOrder workOrder) {
    this.workOrder = workOrder;
  }

  public List<KV> getItems() {
    return items;
  }

  public void setItems(List<KV> items) {
    this.items = items;
  }

}
